Next | Prev | Up | Top | Contents | Index
Using Processor Sets
A processor set is a group of 1 or more designated CPUs. You define a processor set and apply it using pset (see the pset(1) reference page). A processor set is identified by an integer that you assign. For example, to create set 1357 containing all odd-numbered CPUs in an 8-CPU system, use:
pset -s 1357 1,3,5,7
You can also define processor sets in a file, /etc/psettab, so they are defined at all times. With root privilege, you can create any number of processor sets. Sets can be disjoint or overlapping.
With root privilege, you can use processor sets in several ways to partition the system workload.
Tip: Most of the variants of the pset command have a functional equivalent in the sysmp(MP_PSET) function. For details, refer to the sysmp(2) reference page.
- Assigning a Process to a Processor Set
-
- Assigning a Processor Set to a Queue
-
- Assigning a Discipline to a Processor Set
-
- Processor Set Contradictions
-
Next | Prev | Up | Top | Contents | Index